# 导包
import requests

# 设置url,header体,响应状态码和响应结果
# get和delete没有请求体
url = "http://ihrm-test.itheima.net/api/sys/user/1524947438077542400"
header = {"Content-Type": "application/json", "Authorization": "5ac21f38-f08b-42c1-85bd-464258748223"}

resp = requests.delete(url=url,headers=header)
print("响应状态码:",resp.status_code)
print("响应结果:",resp.json())
